home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 February
/
CMCD0205.ISO
/
Software
/
Freeware
/
Programare
/
bluej
/
bluejsetup-203.exe
/
{app}
/
lib
/
chinese
/
templates
/
newclass
/
stdclass.tmpl
< prev
next >
Wrap
Text File
|
2004-12-19
|
495b
|
34 lines
$PKGLINE
/**
* ╘┌╒Γ└∩╕°│÷╢╘└α $CLASSNAME ╡─├Φ╩÷íú
*
* @╫≈╒▀ú¿─π╡─├√╫╓ú⌐
* @░µ▒╛ú¿╥╗╕÷░µ▒╛║┼╗≥╒▀╥╗╕÷╚╒╞┌ú⌐
*/
public class $CLASSNAME
{
// ╩╡└²▒Σ┴┐ - ╙├─π╫╘╝║╡─▒Σ┴┐╠µ╗╗╧┬├µ╡─└²╫╙
private int x;
/**
* └α $CLASSNAME ╡─╢╘╧≤╡─╣╣╘∞║»╩²
*/
public $CLASSNAME()
{
// │⌡╩╝╗»╩╡└²▒Σ┴┐
x = 0;
}
/**
* ╥╗╕÷╖╜╖¿╡─└²╫╙ - ╩╣╙├─π╫╘╝║╡─╦╡├≈╠µ┤·╦ⁿ
*
* @▓╬╩² yú¼╖╜╖¿╡─╥╗╕÷╤∙▒╛▓╬╩²
* @╖╡╗╪ xú¼y╡─║═
*/
public int sampleMethod(int y)
{
// ╘┌╒Γ└∩╝╙╚δ─π╡─┤·┬δ
return x + y;
}
}